package com.rcclabs.commonutils.gdata.docs.service;

import java.io.IOException;
import java.net.MalformedURLException;

import com.google.gdata.data.docs.DocumentListEntry;
import com.google.gdata.data.docs.DocumentListFeed;
import com.google.gdata.util.ServiceException;
import com.rcclabs.commonutils.gdata.common.DocumentListType;
import com.rcclabs.commonutils.gdata.common.DocumentType;
import com.rcclabs.commonutils.gdata.exceptions.DocumentListException;

public interface DocumentListService {
	
	public DocumentListEntry create(String title, DocumentType type) throws DocumentListException, 
	MalformedURLException, IOException, ServiceException;
	
	public void trash(String resourceId) throws DocumentListException, 
	MalformedURLException, IOException, ServiceException;
	
	public void delete(String resourceId) throws DocumentListException, 
	MalformedURLException, IOException, ServiceException;
	
	public DocumentListFeed getDocsListFeed(DocumentListType category) throws DocumentListException, 
	MalformedURLException, IOException, ServiceException;
	
	public DocumentListEntry getDocsListEntry(String resourceId) throws DocumentListException, 
	MalformedURLException, IOException, ServiceException;

}
